﻿using MediatR;
using System.ComponentModel.DataAnnotations;

namespace RBAC.MaHaiBo.API.Application.Command.FarmCommand
{
    public class AddHygieneCommand : IRequest<int>
    {
        /// <summary>
        /// 保健ID
        /// </summary>
        public int Hygieneid { get; set; }
        /// <summary>
        /// 饲养天数
        /// </summary>
        public int Feedingdays { get; set; }
        /// <summary>
        /// 保健发送
        /// </summary>
        public string? Delivery { get; set; }
        /// <summary>
        /// 保健方法
        /// </summary>
        public string? CareMethod { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string? LOT { get; set; }
        /// <summary>
        /// 动态添加人物
        /// </summary>
        public int Uid { get; set; } = 0;

        /// <summary>
        /// 添加人
        /// </summary>
        public string? AddName { get; set; } = "张三";
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdName { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdTime { get; set; }

        /// <summary>
        /// 删除人
        /// </summary>
        public string? DelName { get; set; }
        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DelTime { get; set; }
    }
}
